package com.whmnx.main.ui.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import androidx.annotation.Nullable;

import com.whmnx.main.R;
import com.whmnx.main.databinding.FragmentAddCommodityBindingImpl;
import com.whmnx.main.databinding.FragmentComClassifyBinding;
import com.whmnx.main.ui.model.ComClassModel;

import me.goldze.mvvmhabit.BR;
import me.goldze.mvvmhabit.base.BaseFragment;

/**
 * author : huang
 * date   : 2020/9/28 0028 16:56
 * version: 1.0
 * @author Administrator
 */
public class CommodityClassifyFragment extends BaseFragment<FragmentComClassifyBinding, ComClassModel> {
    @Override
    public int initContentView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return R.layout.fragment_com_classify;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    public void initData() {
        super.initData();
        viewModel.initToolbar(this);
    }
}
